package cn.quang.search.admin.service;

import cn.quang.search.admin.entity.dto.Operator;
import cn.quang.search.admin.entity.dto.Pagination;
import cn.quang.search.admin.entity.dto.Result;
import cn.quang.search.admin.entity.vo.fetcher.SearchResultFetcherDetailVO;
import cn.quang.search.admin.entity.vo.fetcher.SearchResultFetcherListItemVO;
import cn.quang.search.admin.entity.vo.fetcher.SearchResultFetcherQueryRequest;
import cn.quang.search.admin.entity.vo.fetcher.SearchResultFetcherRequest;

import java.util.List;

/**
 * @author:  Entity Generator
 * @since:  2024-02-28 11:00:47
 */
public interface ISearchResultFetcherService {
    Result<Long> add(Operator operator, SearchResultFetcherRequest request);

    Result<?> update(Operator operator, long fetcherId, SearchResultFetcherRequest request);

    Result<?> delete(Operator operator, long fetcherId);

//    Result<Pagination<SearchResultFetcherListItemVO>> list4View(Operator operator, SearchResultFetcherQueryRequest request);

//    Result<SearchResultFetcherDetailVO> detail4View(Operator operator, long id);

//    Result<List<SearchResultFetcherListItemVO>> byLogicTableId4View(Operator operator, long logicTableId);
}
